package com.shangyueshang.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.YearMonth;

/**
 * @author JokeyFeng
 * @date: 2023/1/1 22:41
 * @project: shangyueshang
 * @package: com.shangyueshang.model
 * @comment: <p>利润统计日志表</p>
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class ProfitExecuteLog extends BaseModel implements Serializable {
	
	/**
	 * 店铺名称
	 */
	private String shop;
	
	/**
	 * 统计月份
	 */
	@JsonFormat(pattern = "yyyy-MM")
	private YearMonth tradeMonth;
	
	/**
	 * 统计汇率
	 */
	private BigDecimal exchangeRate;
}
